<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*
 * Copyright (c) 2010. Quantum Software Design LLC & Household Title & Escrow, LLC
 */

/**
 * Created by IntelliJ IDEA.
 * User: david.hoffer
 * Date: Mar 14, 2010
 * Time: 6:06:25 PM
 */

class PurchaseGFE {
    private $state;
    private $countyLocale;
    private $townLocale;
    private $purchasePrice;
    private $loanAmounts;
    private $primaryResidence;
    private $enhancedCoverage;
    private $qualifiedFirstTimeBuyer;
    private $requestedPayer;
    private $purchaseTitleInsuranceCost;
    private $recordationAndTransferTaxes;

    /**
     * required Serializable
     */
    
    public function PurchaseGFE($state, $countyLocale, $townLocale,$purchasePrice, $loanAmounts, $primaryResidence,
       $enhancedCoverage, $qualifiedFirstTimeBuyer, $requestedPayer, $purchaseTitleInsuranceCost, $recordationAndTransferTaxes)
    {        
        $this->state = new EState($state);
        $this->countyLocale = $countyLocale;
        $this->townLocale = $townLocale;
        $this->purchasePrice = $purchasePrice;
        $this->loanAmounts = $loanAmounts;
        $this->primaryResidence = $primaryResidence;
        $this->enhancedCoverage = $enhancedCoverage;
        $this->qualifiedFirstTimeBuyer = $qualifiedFirstTimeBuyer;
        $this->requestedPayer = new ERequestedPayer($requestedPayer);
        $this->purchaseTitleInsuranceCost = $purchaseTitleInsuranceCost;
        $this->recordationAndTransferTaxes = $recordationAndTransferTaxes;
    }

    public function getPurchaseTitleInsuranceCost() {
        return $this->purchaseTitleInsuranceCost;
    }

    public function getRecordationAndTransferTaxes() {
        return $this->recordationAndTransferTaxes;
    }

//    public double getSettlementFee() {
//        return settlementFee;//250.0;
//    }
//
//    public double getLocationSurvey() {
//        return locationSurvey;//225.00;
//    }

    public function getState() {
        return $this->state;
    }
    
    public function getCountyLocale() {
        return $this->countyLocale;
    }
    public function getTownLocale() {
        return $this->townLocale;
    }

    public function getPurchasePrice() {
        return $this->purchasePrice;
    }

    /**
     * @return true if primary residence, null means N.A.
     */
    public function getPrimaryResidence() {
        return $this->primaryResidence;
    }

    /**
     * @return null means N.A.
     */
    
    public function getLoanAmounts() {
        return $this->loanAmounts;
    }

    /**
     * @return null means N.A.
     */
    public function isEnhancedCoverage() {
        return $this->enhancedCoverage;
    }

    /**
     * @return null means N.A.
     */
    
    public function getQualifiedFirstTimeBuyer() {
        return $this->qualifiedFirstTimeBuyer;
    }

    public function getRequestedPayer() {
        return $this->requestedPayer;
    }
}

?>
